package com.example.lj.uav.holder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.example.lj.uav.R;

public class RouteHolder extends RecyclerView.ViewHolder {
    public ImageView iv_screenshoot;
    public TextView tv_name;
    public TextView tv_time;
    public TextView tv_place;
    public RelativeLayout rl_item;
    public RelativeLayout rl_select;
    public CheckBox cb_select;
    public ImageView iv_collected_route;

    public RouteHolder(View itemView) {
        super(itemView);
        iv_screenshoot = itemView.findViewById(R.id.iv_route_item_image);
        tv_name = itemView.findViewById(R.id.tv_route_item_name);
        tv_time = itemView.findViewById(R.id.tv_route_item_time);
        tv_place = itemView.findViewById(R.id.tv_route_item_place);
        rl_item = itemView.findViewById(R.id.rl_route_item);
        rl_select = itemView.findViewById(R.id.rl_select_bg);
        cb_select = itemView.findViewById(R.id.cb_select);
        iv_collected_route = itemView.findViewById(R.id.iv_collected_route);
    }
}
